import Index from "@/pages/Index";
import About from "@/pages/About";
import Home from "@/pages/Home";
import Data from "@/pages/Data";
import User from "@/pages/User";
import Login from "@/pages/Login";
import Detail from "@/pages/Detail";
import UserInfo from "@/pages/UserInfo";
import Test from '@/pages/Test'

const routes = [
    {
        path: '/',
        component: Home
    },
    {
        path: '/data',
        component: Data
    },
    {
        path: '/user',
        component: User
    },
    {
        path: '/login',
        component: Login
    },
    {
        path: '/detail',
        component: Detail
    },
    {
        path: '/userinfo',
        component: UserInfo
    },
    {
        path: '/about',
        component: About
    },
    {
        path: '/test',
        component: Test
    }
]
export default routes;